﻿using Bot.Domain.Entities;
using Comm100.Framework;
using Comm100.Framework.AutoMapper;
using Comm100.Public;
using Bot.Domain.Bo;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Bot.Domain;

namespace Bot.Application.Dto
{
    [AutoMapFrom(typeof(Image))]
    public class ImageDto
    {
        public Guid Id { get; set; }
        public string Name { get; set; }
        public string Url
        {
            get
            {
                var psi = new System.Diagnostics.ProcessStartInfo("hostname");
                return $"{psi.Domain}/api/v3/chatbot/images/{Id}";
            }
            set
            {

            }
        }
    }
}
